<div class="margin-top">
    <div class="row margin-top-lg">
        <div class="col-lg-2 padding-right-xs padding-left-xl">
            <input v-model="marketWayTextInfo.conditions.name" type="text"
                :placeholder="vc.i18n('请填写名称','addMarketText')" class="form-control">

        </div>
        <div class="col-lg-2 padding-right-xs padding-left-xl">
            <select class="custom-select" v-model="marketWayTextInfo.conditions.sendRate">
                <option selected disabled value="">{{vc.i18n('请选择发送频率','addMarketText')}}
                </option>
                <option value="1001">{{vc.i18n('按天','addMarketText')}}</option>
                <option value="2002">{{vc.i18n('按月','addMarketText')}}</option>
                <option value="3003">{{vc.i18n('不限制','addMarketText')}}</option>
            </select>
        </div>
        <div class="col-lg-2 padding-right-xs padding-right-xl ">
            <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
                v-on:click="_queryMarketTextMethod()">
                查询
            </button>
            <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddMarketTextModal()">
                <i class="glyphicon glyphicon-plus"></i>
                <span>
                    <vc:i18n name="添加" namespace="marketTextManage"></vc:i18n>
                </span>
            </button>
        </div>
    </div>
    <div class="margin-top">
        <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
            <thead>
                <tr>
                    <!-- <th class="text-center"><span>
                            <vc:i18n name='编号' namespace='marketWayText'></vc:i18n>
                        </span></th> -->
                    <th class="text-center"><span>
                            <vc:i18n name='名称' namespace='marketWayText'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='发送频率' namespace='marketWayText'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='内容' namespace='marketWayText'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='营销配置' namespace='marketWayText'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='创建时间' namespace='marketWayText'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='操作'></vc:i18n>
                        </span></th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="marketText in marketWayTextInfo.marketTexts">
                    <!-- <td class="text-center">{{marketText.textId}}</td> -->
                    <td class="text-center">{{marketText.name}}</td>
                    <td class="text-center">{{marketText.sendRateName}}</td>
                    <td class="text-center">{{marketText.textContent}}</td>
                    <td class="text-center">{{marketText.smsName}}</td>
                    <td class="text-center">{{marketText.createTime}}</td>

                    <td class="text-center">
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs"
                                v-on:click="_openEditMarketTextModel(marketText)"><span>
                                    <vc:i18n name='修改'></vc:i18n>
                                </span></button>
                        </div>
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs"
                                v-on:click="_openDeleteMarketTextModel(marketText)"><span>
                                    <vc:i18n name='删除'></vc:i18n>
                                </span></button>
                        </div>
                    </td>

                </tr>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="7">
                        <ul class="pagination float-right"></ul>
                    </td>
                </tr>
            </tfoot>
        </table>

        <!-- 分页 -->
        <vc:create path="frame/paginationPlus" namespace="marketWayText"></vc:create>
    </div>

    <vc:create path="admin/addMarketText" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="admin/editMarketText"></vc:create>
    <vc:create path="admin/deleteMarketText"></vc:create>
</div>